﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain.DTO
{
    public class SaleDto
    {
        public int SaleId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)")]
        public string? SalesOrderNumber { get; set; }

        public DateTime SalesDate { get; set; }

        [SugarColumn(ColumnDescription = "联系人")]
        public string? LinkMan { get; set; }

        [SugarColumn(ColumnDescription = "联系电话")]
        public string? ContactNumber { get; set; }

        [SugarColumn(ColumnDescription = "交货地址")]
        public string? DestinationOfDelivery { get; set; }

        [SugarColumn(ColumnDescription = "备注")]
        public string? Remark { get; set; }

        [SugarColumn(ColumnDescription = "客户名称")]
        public int ClientId { get; set; }

        [SugarColumn(ColumnDescription = "联系方式")]
        public string? ContactInformation { get; set; }
        public string? ClientName { get; set; } // 客户属性名称
        public bool? IsDelete { get; set; }
        public List<sale_Product> sale_ProductDTO { get; set; }
    }
}
